<template>
  <div class="UserLayout">
    <router-view v-slot="{ Component }">
      <transition name="" mode="out-in">
        <keep-alive>
          <component :is="Component" />
        </keep-alive>
      </transition>
    </router-view>
  </div>
</template>

<script>
import { reactive } from "vue";
export default {
  setup() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.UserLayout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-color: #fff;
  a {
    font-size: 14px;
  }
}
</style>